package coffeebar;

import java.awt.*;
import javax.swing.*;


public class StatusBar extends JPanel {
  JLabel time;
  static JLabel message;
  public StatusBar() {
    time = new JLabel();
    message = new JLabel();
    time.setText("time");

    message.setText("the message");
    this.setLayout(new BorderLayout());
    this.add(time, BorderLayout.WEST);
    this.add(message, BorderLayout.EAST);
  }
  
  public static void setMessage(String msg) {
	message.setText(msg);
  }
}
